package com.jemmyee.pizza.entity;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * ApplyComment entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="apply_flow_comments"
    ,catalog="milestone.dbo"
)

public class ApplyComment  implements java.io.Serializable {


     // Fields    

     private Integer id;
     private String processComments;
     private String userName;
     private Integer fromStatus;
     private Integer toStatus ;
     private Integer processType ;
     
     private Integer applyId ;

     private String fromInfo;
     private String toInfo;
    // Constructors



	/** default constructor */
    public ApplyComment() {
    }

    
    /** full constructor */
    public ApplyComment(String processComments, String userName,
			Integer fromStatus, Integer toStatus, Integer processType,
			Integer applyId) {
		super();
		this.processComments = processComments;
		this.userName = userName;
		this.fromStatus = fromStatus;
		this.toStatus = toStatus;
		this.processType = processType;
		this.applyId = applyId;
	}
    

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="increment")@Id @GeneratedValue(generator="generator")
    
    @Column(name="id", unique=true, nullable=false)

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    @Column(name="process_Comments", length=65535)

    public String getProcessComments() {
        return this.processComments;
    }
    
    public void setProcessComments(String processComments) {
        this.processComments = processComments;
    }
    
    @Column(name="user_name", length=50)

    public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Column(name="from_status")
	public Integer getFromStatus() {
		return fromStatus;
	}


	public void setFromStatus(Integer fromStatus) {
		this.fromStatus = fromStatus;
	}

	@Column(name="to_status")
	public Integer getToStatus() {
		return toStatus;
	}


	public void setToStatus(Integer toStatus) {
		this.toStatus = toStatus;
	}

	@Column(name="process_type")
	public Integer getProcessType() {
		return processType;
	}


	public void setProcessType(Integer processType) {
		this.processType = processType;
	}

	@Column(name="apply_id", length=50)
	public Integer getApplyId() {
		return applyId;
	}


	public void setApplyId(Integer applyId) {
		this.applyId = applyId;
	}

	@Column(name="from_info", length=50)
	public String getFromInfo() {
		return fromInfo;
	}


	public void setFromInfo(String fromInfo) {
		this.fromInfo = fromInfo;
	}

	@Column(name="to_info", length=50)
	public String getToInfo() {
		return toInfo;
	}


	public void setToInfo(String toInfo) {
		this.toInfo = toInfo;
	}
    
   








}